RectWorld

Undocumented in source.

Members

Functions

addDynamic
DynamicRect* addDynamic(Rect rect, Vector2 velocity)

Returns a reference to the dynamic rect as they will need to be manipulated.

addStatic
void addStatic(Rect[] rect)

Should never be manipulated, which is why their reference is not returned.

opApply
int opApply(int delegate(ref DynamicRect) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(const ref Rect) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta